package com.ruoyi.project.wxbusiness.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 公众号订单对象 order
 * 
 * @author ruoyi
 * @date 2020-10-19
 */
public class Order extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    private String orderId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private String goodsId;

    /** 规格ID */
    @Excel(name = "规格ID")
    private String specsId;

    /** 金额 */
    @Excel(name = "金额")
    private String amount;

    /** (1刚下单未支付  2 已支付待收货  3收货 4 已发货) */
    @Excel(name = "(1刚下单未支付  2 已支付待收货  3收货 4 已发货)")
    private Long status;

    /** 地址Id */
    @Excel(name = "地址Id")
    private Long addressId;

    /** 收货人 */
    @Excel(name = "收货人")
    private String consignee;

    /** 地区地址 */
    @Excel(name = "地区地址")
    private String cityInfo;

    /** 地址详细地址 */
    @Excel(name = "地址详细地址")
    private String address;

    /** 手机 */
    @Excel(name = "手机")
    private String mobile;

    /** 第三方平台交易流水号 */
    @Excel(name = "第三方平台交易流水号")
    private String transactionId;

    /** 用户备注 */
    @Excel(name = "用户备注")
    private String userNote;

    /** 下单时间 */
    @Excel(name = "下单时间")
    private Long addTime;

    /** 支付时间 */
    @Excel(name = "支付时间")
    private Long payTime;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Long goodsNum;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setGoodsId(String goodsId) 
    {
        this.goodsId = goodsId;
    }

    public String getGoodsId() 
    {
        return goodsId;
    }
    public void setSpecsId(String specsId) 
    {
        this.specsId = specsId;
    }

    public String getSpecsId() 
    {
        return specsId;
    }
    public void setAmount(String amount) 
    {
        this.amount = amount;
    }

    public String getAmount() 
    {
        return amount;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setAddressId(Long addressId) 
    {
        this.addressId = addressId;
    }

    public Long getAddressId() 
    {
        return addressId;
    }
    public void setConsignee(String consignee) 
    {
        this.consignee = consignee;
    }

    public String getConsignee() 
    {
        return consignee;
    }
    public void setCityInfo(String cityInfo) 
    {
        this.cityInfo = cityInfo;
    }

    public String getCityInfo() 
    {
        return cityInfo;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setTransactionId(String transactionId) 
    {
        this.transactionId = transactionId;
    }

    public String getTransactionId() 
    {
        return transactionId;
    }
    public void setUserNote(String userNote) 
    {
        this.userNote = userNote;
    }

    public String getUserNote() 
    {
        return userNote;
    }
    public void setAddTime(Long addTime) 
    {
        this.addTime = addTime;
    }

    public Long getAddTime() 
    {
        return addTime;
    }
    public void setPayTime(Long payTime)
    {
        this.payTime = payTime;
    }

    public Long getPayTime()
    {
        return payTime;
    }
    public void setGoodsNum(Long goodsNum) 
    {
        this.goodsNum = goodsNum;
    }

    public Long getGoodsNum() 
    {
        return goodsNum;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("goodsId", getGoodsId())
            .append("specsId", getSpecsId())
            .append("amount", getAmount())
            .append("status", getStatus())
            .append("addressId", getAddressId())
            .append("consignee", getConsignee())
            .append("cityInfo", getCityInfo())
            .append("address", getAddress())
            .append("mobile", getMobile())
            .append("transactionId", getTransactionId())
            .append("userNote", getUserNote())
            .append("addTime", getAddTime())
            .append("payTime", getPayTime())
            .append("goodsNum", getGoodsNum())
            .append("userId", getUserId())
            .toString();
    }
}
